﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Library
{
    public partial class ChiTietKho
    {
        public static int GetLastestSoLuongTon(int ID_SP)
        {
            return DalChiTietKho.GetLastestSoLuong(ID_SP);
        }

        public static void AddKho(int ID_SP, int SoLuong)
        {
            DalChiTietKho.Add(ID_SP, SoLuong);
        }

        public static void SubKho(int ID_SP, int SoLuong)
        {
            DalChiTietKho.Sub(ID_SP, SoLuong);
        }
    }
}
